﻿using QG.FrontDesk.BLL.IService;
using QG.FrontDesk.DAL.IRepository;
using QG.FrontDesk.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QG.FrontDesk.BLL.Service
{
    public class CityInfoService : ICityInfoService
    {
        private ICityInfoRepository cityInfoRepository;
        public CityInfoService(ICityInfoRepository cityInfoRepository)
        {
            this.cityInfoRepository = cityInfoRepository;
        }
        /// <summary>
        /// 获取所有城市
        /// </summary>
        /// <returns></returns>
        public List<Cityinfo> GetCityinfos()
        {
            return cityInfoRepository.GetCityinfos();
        }
    }
}
